/* Yet Another Experimental Software Renderer
 *
 * Copyright (c) 2010 Pawel "Hery" Dziepak
 */

#ifndef TESSELLATOR_H_
#define TESSELLATOR_H_

#include "primitives.h"

#include <vector>

namespace yaesr {
	class tessellator {
	public:
		virtual void tessellate(triangle, std::vector<triangle>&, int) = 0;
		//virtual void tessellate(line, std::vector<line>&, int) = 0;
	};

	class default_ts : public tessellator {
	public:
		void tessellate(triangle, std::vector<triangle>&, int);
	};
}

#endif